package com.prs.crm.dao.person.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.person.PersonnelContractDao;
import com.prs.crm.domain.person.PersonnelContract;

public class PersonnelContractDaoImpl extends BaseDaoImpl<PersonnelContract> implements PersonnelContractDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<PersonnelContract> getAllPersonnelContract() {
		Criteria criteria=this.getSession().createCriteria(PersonnelContract.class);
		return criteria.list();
	}

}
